﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ReportingEngine;
using System.Diagnostics;

namespace VSLT_ReportingCmdLine
{
    class Program
    {
        private string sqlConn = "";
        private int sqlConnTimeout = 30;
        private int sqlCmdTimeout = 300;

        private string csvFileName = "";
        private int loadTestRunId = -1;

        static void Main(string[] args)
        {
            ParseCmdArgs(args);
        }

        static private bool ParseCmdArgs(string[] args)
        {
            bool parseSucceeded = false;

            foreach(string arg in args)
            {
                if (arg.Contains(":"))
                {
                    string argKey = arg.Substring(0, arg.IndexOf(":"));
                    Console.WriteLine(argKey);
                    argKey = arg.Substring(arg.IndexOf(":") + 1);
                    Console.WriteLine(argKey);
                }
            }

            return parseSucceeded;
        }
    }
}
